package com.hq.service;

import com.hq.entity.QuestionType;

import java.util.List;
import java.util.Map;

public interface QuestionTypeService {
    //分页查询
    Map<String,Object> findByPage(int page, int size);

    //添加题型
    int addQuestionType(QuestionType questionType);

    //单行删除
    int delType(int tid);

    //批量删除
    int delTypes(String ids);

    //编辑题型
    int editQuestionType(QuestionType questionType);

    //查询所有题型
    List<QuestionType> findAll();
}
